var express = require('express');
var router = express.Router();
const systemUser = require('../../controller/admin/systemUserController');

//新增角色
router.post('/add', systemUser.add);
//获取角色
router.post('/get', systemUser.get);
//编辑框角色权限渲染
router.post('/getbyId', systemUser.getbyId);
//修改角色
router.post('/set', systemUser.set);
//删除角色
router.post('/delete', systemUser.delete);

module.exports = router;